package com.kun.learn.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Copyright (C), 2011-2017 温州贷
 * FileName: com.kun.learn.feign.ScheduleServiceHi.java
 * Author: shijikun
 * Email: shijikun@wzdai.com
 * Date: 30/10/2017 09:56
 * Description:
 * History:
 */
@FeignClient(value = "compute-service",fallback = ScheduleServiceHystrix.class)
public interface ScheduleServiceHi {
    @GetMapping("/add")
    String sayHi();
}
